package com.pccw.ssh.form;

import org.apache.struts.action.ActionForm;

import com.pccw.ssh.vo.StockVO;

public class StockForm extends ActionForm{

	private String num;
	
	private String name;
	
	private String price;

	public String getNum() {
		return num;
	}

	public void setNum(String num) {
		this.num = num;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}
	
	public StockVO toVO(){
		return new StockVO(num,name,price);
	}
}
